<div class="floatL leftBlock" >
    <?php if ($models) : ?>    
        <h3>Новые отзывы</h3><br />
	<?php foreach ($models as $opinion) : ?>
	   <div class="recordRow">
		    <img src="<?php echo $opinion->getUser()->getAvatar(); ?>" alt="<?php echo $opinion->getUser()->getProfileName(); ?>" class="floatL userPic radius5"/>
		    <a href="<?php echo CHtml::normalizeUrl($this->createUrl('review/view', array('id' => $opinion->getTarget()->getId(), 'url' => $opinion->getTarget()->getDbData('url'), '#' => 'opinion_' . $opinion->getId()))); ?>" class="recordTitle"><?php echo $opinion->getTarget()->getDbData('title'); ?></a><br />
		    <?php echo CTruncate::trunc($opinion->content); ?>
		    <br />
		    <div class="clear padTop10"></div>
		    <div class="rowInfo">
			<span class="floatL">
			    <b class="green">Оценка пользователя:</b><br />
			    <div class="starRatingFx rt<?php echo intval($opinion->user_rating); ?>"></div>
			</span>		
			<span class="floatR">
			    <img src="<?php echo Yii::app()->theme->baseUrl ?>/images/icons/photo_marker<?php echo ($opinion->has_image ? '' : '_unactive'); ?>.png" class="marker "/>
			    <img src="<?php echo Yii::app()->theme->baseUrl ?>/images/icons/video_marker<?php echo ($opinion->has_video ? '' : '_unactive'); ?>.png" class="marker "/>
			    <img src="<?php echo Yii::app()->theme->baseUrl ?>/images/icons/map_marker<?php echo ($opinion->has_map ? '' : '_unactive'); ?>.png" class="marker "/>		    
			</span>		
		    </div>
		</div>
		<hr/>
	<?php endforeach; ?>
    <?php endif; ?>
    <div class="clear"></div>
    <div class="padTop10"></div>    
    <div class="taCenter">	
	<?php $this->widget('CLinkPager', array('pages' => $pager, 'cssFile' => false, 'header' => '', 'firstPageLabel' => 'Первая', 'nextPageLabel' => 'Следующая', 'prevPageLabel' => 'Предыдущая', 'lastPageLabel' => 'Последняя')); ?>			
    </div>
</div>